Point(1)={  1.000000, -0.000000, 0};
Point(2)={  0.999756,  0.000052, 0};
Point(3)={  0.999023,  0.000209, 0};
Point(4)={  0.997802,  0.000469, 0};
Point(5)={  0.996095,  0.000832, 0};
Point(6)={  0.993903,  0.001298, 0};
Point(7)={  0.991228,  0.001863, 0};
Point(8)={  0.988072,  0.002528, 0};
Point(9)={  0.984438,  0.003289, 0};
Point(10)={  0.980330,  0.004145, 0};
Point(11)={  0.975752,  0.005092, 0};
Point(12)={  0.970707,  0.006129, 0};
Point(13)={  0.965201,  0.007252, 0};
Point(14)={  0.959238,  0.008458, 0};
Point(15)={  0.952825,  0.009744, 0};
Point(16)={  0.945966,  0.011105, 0};
Point(17)={  0.938669,  0.012538, 0};
Point(18)={  0.930941,  0.014039, 0};
Point(19)={  0.922788,  0.015605, 0};
Point(20)={  0.914218,  0.017230, 0};
Point(21)={  0.905240,  0.018910, 0};
Point(22)={  0.895862,  0.020641, 0};
Point(23)={  0.886092,  0.022419, 0};
Point(24)={  0.875941,  0.024239, 0};
Point(25)={  0.865417,  0.026096, 0};
Point(26)={  0.854532,  0.027985, 0};
Point(27)={  0.843294,  0.029903, 0};
Point(28)={  0.831716,  0.031844, 0};
Point(29)={  0.819807,  0.033804, 0};
Point(30)={  0.807581,  0.035777, 0};
Point(31)={  0.795047,  0.037760, 0};
Point(32)={  0.782219,  0.039747, 0};
Point(33)={  0.769109,  0.041734, 0};
Point(34)={  0.755730,  0.043716, 0};
Point(35)={  0.742094,  0.045689, 0};
Point(36)={  0.728216,  0.047648, 0};
Point(37)={  0.714107,  0.049588, 0};
Point(38)={  0.699783,  0.051505, 0};
Point(39)={  0.685258,  0.053394, 0};
Point(40)={  0.670545,  0.055251, 0};
Point(41)={  0.655659,  0.057071, 0};
Point(42)={  0.640614,  0.058850, 0};
Point(43)={  0.625426,  0.060584, 0};
Point(44)={  0.610110,  0.062268, 0};
Point(45)={  0.594680,  0.063897, 0};
Point(46)={  0.579153,  0.065468, 0};
Point(47)={  0.563542,  0.066977, 0};
Point(48)={  0.547865,  0.068418, 0};
Point(49)={  0.532136,  0.069789, 0};
Point(50)={  0.516372,  0.071085, 0};
Point(51)={  0.500587,  0.072303, 0};
Point(52)={  0.484799,  0.073438, 0};
Point(53)={  0.469022,  0.074486, 0};
Point(54)={  0.453273,  0.075446, 0};
Point(55)={  0.437567,  0.076312, 0};
Point(56)={  0.421921,  0.077082, 0};
Point(57)={  0.406350,  0.077752, 0};
Point(58)={  0.390796,  0.078315, 0};
Point(59)={  0.375297,  0.078743, 0};
Point(60)={  0.359920,  0.079032, 0};
Point(61)={  0.344680,  0.079180, 0};
Point(62)={  0.329594,  0.079186, 0};
Point(63)={  0.314678,  0.079051, 0};
Point(64)={  0.299948,  0.078773, 0};
Point(65)={  0.285418,  0.078355, 0};
Point(66)={  0.271106,  0.077795, 0};
Point(67)={  0.257025,  0.077096, 0};
Point(68)={  0.243191,  0.076259, 0};
Point(69)={  0.229618,  0.075287, 0};
Point(70)={  0.216321,  0.074181, 0};
Point(71)={  0.203313,  0.072945, 0};
Point(72)={  0.190609,  0.071582, 0};
Point(73)={  0.178222,  0.070096, 0};
Point(74)={  0.166164,  0.068490, 0};
Point(75)={  0.154449,  0.066770, 0};
Point(76)={  0.143089,  0.064940, 0};
Point(77)={  0.132094,  0.063005, 0};
Point(78)={  0.121477,  0.060970, 0};
Point(79)={  0.111248,  0.058842, 0};
Point(80)={  0.101418,  0.056625, 0};
Point(81)={  0.091996,  0.054325, 0};
Point(82)={  0.082992,  0.051950, 0};
Point(83)={  0.074415,  0.049504, 0};
Point(84)={  0.066273,  0.046994, 0};
Point(85)={  0.058573,  0.044427, 0};
Point(86)={  0.051324,  0.041808, 0};
Point(87)={  0.044532,  0.039144, 0};
Point(88)={  0.038203,  0.036441, 0};
Point(89)={  0.032343,  0.033704, 0};
Point(90)={  0.026958,  0.030939, 0};
Point(91)={  0.022051,  0.028152, 0};
Point(92)={  0.017628,  0.025348, 0};
Point(93)={  0.013692,  0.022531, 0};
Point(94)={  0.010245,  0.019707, 0};
Point(95)={  0.007292,  0.016878, 0};
Point(96)={  0.004833,  0.014049, 0};
Point(97)={  0.002870,  0.011224, 0};
Point(98)={  0.001405,  0.008404, 0};
Point(99)={  0.000439,  0.005592, 0};
Point(100)={ -0.000030,  0.002790, 0};
Point(101)={  0.000000,  0.000000, 0};
Point(102)={  0.000523, -0.002741, 0};
Point(103)={  0.001535, -0.005395, 0};
Point(104)={  0.003033, -0.007961, 0};
Point(105)={  0.005015, -0.010439, 0};
Point(106)={  0.007479, -0.012828, 0};
Point(107)={  0.010421, -0.015126, 0};
Point(108)={  0.013838, -0.017334, 0};
Point(109)={  0.017725, -0.019451, 0};
Point(110)={  0.022078, -0.021476, 0};
Point(111)={  0.026892, -0.023408, 0};
Point(112)={  0.032161, -0.025246, 0};
Point(113)={  0.037880, -0.026990, 0};
Point(114)={  0.044042, -0.028639, 0};
Point(115)={  0.050641, -0.030193, 0};
Point(116)={  0.057669, -0.031651, 0};
Point(117)={  0.065120, -0.033014, 0};
Point(118)={  0.072985, -0.034280, 0};
Point(119)={  0.081257, -0.035451, 0};
Point(120)={  0.089927, -0.036527, 0};
Point(121)={  0.098987, -0.037507, 0};
Point(122)={  0.108427, -0.038392, 0};
Point(123)={  0.118239, -0.039185, 0};
Point(124)={  0.128412, -0.039884, 0};
Point(125)={  0.138937, -0.040493, 0};
Point(126)={  0.149805, -0.041012, 0};
Point(127)={  0.161004, -0.041444, 0};
Point(128)={  0.172524, -0.041791, 0};
Point(129)={  0.184354, -0.042054, 0};
Point(130)={  0.196484, -0.042238, 0};
Point(131)={  0.208902, -0.042343, 0};
Point(132)={  0.221596, -0.042375, 0};
Point(133)={  0.234555, -0.042335, 0};
Point(134)={  0.247768, -0.042228, 0};
Point(135)={  0.261221, -0.042058, 0};
Point(136)={  0.274904, -0.041827, 0};
Point(137)={  0.288802, -0.041541, 0};
Point(138)={  0.302904, -0.041203, 0};
Point(139)={  0.317197, -0.040817, 0};
Point(140)={  0.331668, -0.040389, 0};
Point(141)={  0.346303, -0.039923, 0};
Point(142)={  0.361089, -0.039422, 0};
Point(143)={  0.376013, -0.038892, 0};
Point(144)={  0.391061, -0.038336, 0};
Point(145)={  0.406269, -0.037757, 0};
Point(146)={  0.421645, -0.037134, 0};
Point(147)={  0.437099, -0.036467, 0};
Point(148)={  0.452619, -0.035757, 0};
Point(149)={  0.468187, -0.035009, 0};
Point(150)={  0.483790, -0.034227, 0};
Point(151)={  0.499413, -0.033414, 0};
Point(152)={  0.515039, -0.032573, 0};
Point(153)={  0.530654, -0.031708, 0};
Point(154)={  0.546243, -0.030821, 0};
Point(155)={  0.561791, -0.029917, 0};
Point(156)={  0.577282, -0.028997, 0};
Point(157)={  0.592701, -0.028066, 0};
Point(158)={  0.608033, -0.027125, 0};
Point(159)={  0.623264, -0.026176, 0};
Point(160)={  0.638377, -0.025224, 0};
Point(161)={  0.653358, -0.024269, 0};
Point(162)={  0.668193, -0.023313, 0};
Point(163)={  0.682867, -0.022360, 0};
Point(164)={  0.697364, -0.021410, 0};
Point(165)={  0.711672, -0.020466, 0};
Point(166)={  0.725775, -0.019529, 0};
Point(167)={  0.739659, -0.018600, 0};
Point(168)={  0.753311, -0.017681, 0};
Point(169)={  0.766718, -0.016774, 0};
Point(170)={  0.779864, -0.015880, 0};
Point(171)={  0.792738, -0.014999, 0};
Point(172)={  0.805327, -0.014133, 0};
Point(173)={  0.817617, -0.013284, 0};
Point(174)={  0.829596, -0.012451, 0};
Point(175)={  0.841253, -0.011637, 0};
Point(176)={  0.852575, -0.010842, 0};
Point(177)={  0.863551, -0.010068, 0};
Point(178)={  0.874170, -0.009314, 0};
Point(179)={  0.884421, -0.008583, 0};
Point(180)={  0.894293, -0.007875, 0};
Point(181)={  0.903777, -0.007191, 0};
Point(182)={  0.912862, -0.006532, 0};
Point(183)={  0.921540, -0.005900, 0};
Point(184)={  0.929801, -0.005294, 0};
Point(185)={  0.937637, -0.004717, 0};
Point(186)={  0.945040, -0.004169, 0};
Point(187)={  0.952002, -0.003650, 0};
Point(188)={  0.958516, -0.003163, 0};
//Point(189)={  1.000000, -0.000000, 0};


p=newp;
x1=-0.2;
x2=1.2;
y1=-0.2;
y2=0.25;
Point(p)={x1,y1,0};
Point(p+1)={x2,y1,0};
Point(p+2)={x2,y2,0};
Point(p+3)={x1,y2,0};

c=newc;
Line(c)={p,p+1};
Line(c+1)={p+1,p+2};
Line(c+2)={p+2,p+3};
Line(c+3)={p+3,p};

Spline(c+4) = { 1 ... 80};
Spline(c+5) = { 80 ... 120};
Spline(c+6) = { 120 ... 188, 1};


cl = newll;
Curve Loop(cl) = {1,2,3,4}; 
Curve Loop(cl+1) = {5,6,7}; 
s = newsl;
Plane Surface(s) = {cl, cl+1};

Transfinite Curve {5,7} = 25;
Transfinite Curve {6} = 15 Using Bump 3;


l_max=0.05;
l_min=l_max;
MeshSize{:} = l_max;
Mesh.MeshSizeMin = l_min;
Mesh.MeshSizeMax = l_max;


Field[1] = BoundaryLayer;
Field[1].CurvesList = {5,6,7};
Field[1].NodesList={1,80,120};
Field[1].Size = 0.005;
Field[1].Ratio = 1.25;
Field[1].Thickness = 0.08;
Field[1].Quads = 1;
Field[1].FanPointsList = {1};
Field[1].FanPointsSizesList = {-3};
BoundaryLayer Field = 1;
